package com.gzy.android_douban.ui.login;

import com.gzy.android_douban.data.model.LoggedInUser;

/**
 * Class exposing authenticated user details to the UI.
 */
class LoggedInUserView {
  private LoggedInUser loggedInUser;
  private String displayName;
  //... other data fields that may be accessible to the UI

  public LoggedInUserView(LoggedInUser loggedInUser) {
    this.loggedInUser = loggedInUser;
  }

  LoggedInUserView(String displayName) {
    this.displayName = displayName;
  }

  public LoggedInUser getLoggedInUser() {
    return loggedInUser;
  }

  String getDisplayName() {
    return displayName;
  }
}